<template>
  <div class="app">app</div>
</template>
<script>
import { getCurrentInstance } from 'vue'
export default {
  // data() {
  //   return {}
  // },
  // created() {
  //   console.log(this.$name)
  // }
  setup() {
    const instance = getCurrentInstance()
    console.log(instance.appContext.config.globalProperties.$name)
  }
}
</script>
<style lang="scss" scoped></style>
